import os.path as p
import os

print(p.abspath('demo_03.py'))  # 获取文件的绝对值路径，D:\24_computer_z1\file_demo\demo_03.py
# os.mkdir('os_test')
os.chdir('os_test')
# os.mkdir('mk_test')
# print(p.exists('__init__.py'))
# print(os.listdir('D:\\24_computer_z1\\file_demo\\os_test'))
print(p.getatime('D:\\24_computer_z1\\file_demo\demo_03.py'))